home *** CD-ROM | disk | FTP | other *** search
- #
- # Makefile for ffr under UNIX
- #
-
- # choose your target for the Makefile.
- # for MessDOS you should choose "ffr.exe".
- TARGET = 7plus
- #TARGET = 7plus.exe
-
- # define the object suffix of your system.
- # for MessDOS you should define "obj".
- O = o
- #O = obj
-
- # choose compiler and linker and their flags
- # GNU cc
- CC = gcc
- LD = gcc
- CFLAGS = -O -W -ansi
- LDFLAGS = -s -ansi
-
- # XENIX cross development for MessDOS
- #CC=cc
- #LD=cc
- #CFLAGS= -M0l -dos -O -DSCOCROSS
- #LDFLAGS= -M0l -dos -O
-
- # choose defines necessary for your system
- DEFINES =
-
- OBJS = 7plus.$O decode.$O rebuild.$O decode.$O extract.$O \
- join.$O utils.$O unix.$O
-
- .c.o:
- $(CC) -c $(CFLAGS) $(DEFINES) $*.c
-
- TARGET: $(OBJS)
- $(LD) $(LDFLAGS) -o $(TARGET) $(OBJS)
-
- clean:
- rm -f $(OBJS)
- rm -f $(TARGET) core a.out
-
- 7plus.o : 7plus.c 7plus.h
- decode.o : decode.c 7plus.h globals.h
- rebuild.o : rebuild.c 7plus.h globals.h
- encode.o : encode.c 7plus.h globals.h
- extract.o : extract.c 7plus.h globals.h
- join.o : join.c 7plus.h globals.h
- utils.o : utils.c 7plus.h globals.h
- unix.o : unix.c 7plus.h globals.h
-